From a5e8e15f8e1e5c4eece2ad71a50596e5d442ac64 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sun, 2 Sep 2007 14:53:22 +0000 Subject: [PATCH] * CDBS class - invoke ocamldoc after dh_install has been run (otherwise ocamldoc is likely to generate empty API references ...) --- debian/cdbs/ocaml.mk | 4 ++-- debian/changelog | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/debian/cdbs/ocaml.mk b/debian/cdbs/ocaml.mk index 0dabfa09..2a9fed97 100644 --- a/debian/cdbs/ocaml.mk +++ b/debian/cdbs/ocaml.mk @@ -16,7 +16,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# $Id: ocaml.mk 4238 2007-08-31 09:56:32Z zack $ +# $Id: ocaml.mk 4266 2007-09-02 14:53:22Z zack $ _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules @@ -43,7 +43,7 @@ DEB_DH_GENCONTROL_ARGS += -VF:OCamlNativeArchs="$(OCAML_NATIVE_ARCHS)" endif # post-install hooks for invoking ocamldoc on OCAML_OCAMLDOC_PACKAGES packages -$(patsubst %,install/%,$(DEB_PACKAGES)):: +$(patsubst %,binary-install/%,$(DEB_PACKAGES)):: @if (echo $(OCAML_OCAMLDOC_PACKAGES) | grep -w '$(cdbs_curpkg)' > /dev/null) ; then \ echo 'mkdir -p debian/$(cdbs_curpkg)/$(OCAML_OCAMLDOC_DESTDIR_HTML)' ; \ mkdir -p debian/$(cdbs_curpkg)/$(OCAML_OCAMLDOC_DESTDIR_HTML) ; \ diff --git a/debian/changelog b/debian/changelog index 98ff137c..71ebcf6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ ocaml (3.10.0-8) UNRELEASED; urgency=low - * UNRELEASED + [ Stefano Zacchiroli ] + * CDBS class + - invoke ocamldoc after dh_install has been run (otherwise ocamldoc is + likely to generate empty API references ...) - -- Stefano Zacchiroli Sun, 02 Sep 2007 10:37:42 +0200 + -- Stefano Zacchiroli Sun, 02 Sep 2007 16:51:41 +0200 ocaml (3.10.0-7) unstable; urgency=low -- 2.30.2